package org.darkforest.common.services;

import org.darkforest.model.Cart;
import org.darkforest.model.PMiaosha;
import org.darkforest.vo.MemberBase;

/**
 * Created by Libing on 2015/8/20.
 */
public interface SeckillService {
    /**
     * 创建秒杀放入购物车
     * @param miaosha
     * @param userId
     * @return
     */
    Cart createMiaoshaCart(PMiaosha miaosha, Integer userId);

    void cleanCartGoods(MemberBase memberBase);
}
